const state = {
	machine:{mid:0}
}

const mutations = {
	SET_MACHINE(state, val) {
		state.machine= val
	}
}

const actions = {
    setMachine({
        state,
        commit
    }, data) {
        commit('SET_MACHINE', data)
    },
}

export default {
	state,
	mutations,
	actions
}